 <div id="showpost" style="min-height: 550px;">
                     <table border="1" style=" ">
                            <tr  id="one">
                               <td>id</td>
                               <td>Tiêu đề</td>
                               <td>Phân loại</td>
                               <td>Hiện</td>
                               <td>Tác giả</td>
                               <td>Thời gian</td>
                               <td>Tùy chọn</td>
                            </tr>
                           <?php
                             $i=1;
                             $mysql->query("select * from post");
                             while($row=$mysql->fetchRow()){
                                if($i%2==0){
                                $class="chan";
                             }else{
                                $class="le";
                             }
                             if($i<=5){
                                $new="new";
                             }else if($i>5){
                                $new="owl";
                             }
                           ?>
                            <tr class="<?php echo $class;?>">
                               <td><?php echo $row[id]?></td>
                               <td class="title" class="<?php echo $new;?>"><a href="index.php?change=true&id=<?php echo $row[id]?>"><?php echo $row[title]?></a></td>
                               <td><?php echo $row[category];?></td>
                               <td align="center">
                                 <?php
                                   if($row[anhien]==0){
                                    echo"<a class='an' href='action.php?p={$row[id]}&hien=true'>Hiện</a>";
                                   }else if($row[anhien]==1){
                                    echo"<a class='hien' href='action.php?p={$row[id]}&hien=false'>Ẩn</a>";
                                   }
                                 ?>
                               </td>
                               <td><?php echo $row[tacgia]?></td>
                               <td><?php echo $row[time]?></td>
                               <td>
                               <script>
                                function confirmDelete(delUrl) {
                                  if (confirm("Are you sure you want to delete")) {
                                    document.location = delUrl;
                                  }
                                }
                                </script>
                                
                                 <ul id="tuychon_">
                                    <li><a class="edit"  href="#">Sửa</a></li>
                                    <li>  <a  class="delete" href="javascript:confirmDelete('action.php?depost=true&p=<?php echo $row[id];?>')">Xóa</a></li>
                                 </ul>
                               </td>
                            </tr>
                            
                           <?php
                           $i++;
                           }?>
                           
                     </table>
                    
                </div>